﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="Faust.Andrew.MTG.Player.CardViewControl"
	x:Name="UserControl"
	d:DesignWidth="234" d:DesignHeight="362">
	<UserControl.Resources>
	</UserControl.Resources>

	<Grid x:Name="LayoutRoot">
		<Grid.RowDefinitions>
			<RowDefinition Height="*"/>	
			<RowDefinition Height="Auto"/>
		</Grid.RowDefinitions>
		<Viewbox>
			<Grid>
				<Image x:Name="imgPreview" Width="226" Height="331"/>
				<ItemsControl x:Name="lbCounters" Margin="25.111,47.325,27.971,162.91" ItemsPanel="{DynamicResource CounterItemsPanel}" ItemTemplate="{DynamicResource CounterListItemTemplate}" Panel.ZIndex="1" MaxWidth="175" ItemsSource="{Binding Counters, Converter={StaticResource CounterListConverter}, Mode=OneWay}"/>
				<Label x:Name="lblCardText" VerticalAlignment="Bottom" Margin="40,0,35,41" Foreground="White" Height="81" Panel.ZIndex="1" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" />
			</Grid>
		</Viewbox>
	</Grid>
</UserControl>